<?php
class ReviewsRatings extends CActiveRecord {
    
    public $revId;
    public $type;
    public $val;
    
    public static function model($className = __CLASS__) {
        return parent::model($className);
    }
    
    public function tableName() {
        return 'reviews_ratings';
    }
}